﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using OGS.Contracts;
using OGS.Utility;
using OGS.Web.Models.Admin;

namespace OGS.Web.Controllers.Admin
{
    public partial class AdminController : AdminBaseController
    {
        /// <summary>
        /// Brand List Action
        /// </summary>
        /// <returns></returns>
        [ActionName("SiteImage-List")]
        public ActionResult SiteImageList(string Name)
        {
            Name = Name == null ? string.Empty : Name.Trim();
            SiteImagesListModel SiteImagesListModel = new SiteImagesListModel();
            SiteImagesListModel.Populate(Name);

            return View("~/Views/Admin/SiteImage/SiteImageList.aspx", SiteImagesListModel);

        }

        
    }
}
